# -*- coding: utf-8 -*-
"""
-------------------------------------------------
   File Name：     gen_mac_key
   Description :
   Author :       'li'
   date：          2021/9/5
-------------------------------------------------
   Change Activity:
                   2021/9/5:
-------------------------------------------------
"""

import base64
import hashlib


def _main():
    base_encoding = 'NzhEMDA0MkRDOEVF'.encode()
    res = base64.decodebytes(base_encoding)
    _hash = hashlib.sha256()
    _hash.update(res)
    res = _hash.hexdigest()
    print(res)


if __name__ == '__main__':
    _main()
